<?php
    session_start();
    include '../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $ageoid = $_REQUEST['oidage'];
    
    $agen = "update dnronagen
             set agestado = 2
             where ageoid =".$ageoid." and usuoid = ".$_SESSION['usuario'];
    $con->query($agen);
    
    $con->cerrarConexion();
 
?>